package com.example.educationblockchain.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.educationblockchain.model.Block;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BlockMapper extends BaseMapper<Block> {
    long selectBlockNum();
    List<Block> selectBlocksOrder(String number);
    long selectBlockRank(String number,long index);
}
